package com.ch.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ch.model.entity.Doctor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【doctor】的数据库操作Mapper
* @createDate 2024-06-14 09:43:05
* @Entity com.ch.model.entity.Doctor
*/
@Mapper
public interface DoctorMapper extends BaseMapper<Doctor> {

	IPage<Doctor> selectDoctorPage(@Param("page") Page<Doctor> page, @Param("doctorName") String doctorName);


	boolean updateDoctor(Doctor doctor);


	List<Doctor> getDoctor(@Param("typeId") int typeId, @Param("depId") int depId, @Param("date") String date);
}




